﻿<%@ Page Title="Change Applicant" Language="C#" MasterPageFile="~/Employee/MasterPageEmployee.master" AutoEventWireup="true" CodeFile="ChangeStatusApplicant.aspx.cs" Inherits="Employee_ChangeStatusApplicant" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <script type="text/javascript" src="../Scripts/jquery.js"></script>
    <script type="text/javascript">
        $(function () {
            $('#<%=ddlStatus.ClientID %>').change(function () {
                $('#<%=btnSave.ClientID %>').attr("disabled", false);
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentmain" Runat="Server">
    <div id="Main">
        <h2>Change Status Applicant</h2>
        <p class="LineOdd">
            <asp:Label ID="lblTitleVacancy" runat="server" Text="Title Vacancy:" Width="180px"></asp:Label>
            <asp:DropDownList ID="ddlTitleVacancy" runat="server" Enabled="False" 
                Width="204px">
            </asp:DropDownList>
        </p>
        <p>
            <asp:Label ID="Label1" runat="server" Text="UserName:" Width="180px"></asp:Label>
            <asp:TextBox ID="txtUserName" runat="server" Enabled="false" Width="140px"></asp:TextBox>
            <asp:TextBox ID="txtJobID" runat="server" Enabled="false" Width="51px" 
                ToolTip="Applicant ID"></asp:TextBox>
        </p>
        <p class="LineOdd">
            <asp:Label ID="Label2" runat="server" Text="Address:" Width="180px"></asp:Label>
            <asp:TextBox ID="txtDescription" runat="server" Enabled="false" Width="200px" ></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="Label3" runat="server" Text="Phone:" Width="180px"></asp:Label>
            <asp:TextBox ID="txtPhone" runat="server" Enabled="false" Width="200px"></asp:TextBox>
        </p>
        <p class="LineOdd">
            <asp:Label ID="Label4" runat="server" Text="Birth of date:" Width="180px"></asp:Label>
            <asp:TextBox ID="txtBirthOfDate" runat="server" Enabled="false" Width="200px"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="Label5" runat="server" Text="Email:" Width="180px"></asp:Label>
            <asp:TextBox ID="txtEmail" runat="server" Enabled="false" Width="200px"></asp:TextBox>
        </p>
        <p class="LineOdd">
            <asp:Label ID="Label7" runat="server" Text="Educantion:" Width="180px"></asp:Label>
            <asp:TextBox ID="txtEducation" runat="server" Enabled="false" Width="200px"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="Label6" runat="server" Text="Foreign Languages:" Width="180px"></asp:Label>
            <asp:TextBox ID="txtLanguages" runat="server" Enabled="false" Width="200px"></asp:TextBox>
        </p>
        <p class="LineOdd">
            <asp:Label ID="Label8" runat="server" Text="Work Expereignce:" Width="180px"></asp:Label>
            <asp:TextBox ID="txtExpereignce" runat="server" Enabled="false" Width="200px"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="Label9" runat="server" Text="Status:" Width="180px"></asp:Label>
            <asp:DropDownList ID="ddlStatus" runat="server" Width="204px" 
                onselectedindexchanged="ddlStatus_SelectedIndexChanged">
                <asp:ListItem Value="3">In Process</asp:ListItem>
                <asp:ListItem Value="4">Not In Process</asp:ListItem>
            </asp:DropDownList>
        </p>
        <p>
            <asp:Label ID="lblError" runat="server" Text="" ForeColor="Red"></asp:Label>
            <asp:Label ID="lblSuccess" runat="server" ForeColor="Blue"></asp:Label>
        </p>
        <p style="text-align: right; width:380px">
            <asp:Button ID="btnSave" runat="server" Text="Save Changes" Height="30px" 
                Width="100px" onclick="btnCreate_Click" ToolTip="Save changes" />
        </p>
    </div>
</asp:Content>

